<?php session_start();

if(isset($_SESSION['valor']) && $_SESSION['valor'] && isset($_SESSION['rol']) && isset ($_SESSION["login"]) ){


?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>EL RURAL</title>
<link href="Scripts/styles.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.Estilo1 {
	color: #003366;
	font-weight: bold;
}
-->
</style>
</head>
<body>
<script language="JavaScript" src="Scripts/menu.js"></script>
<script language="JavaScript" src="Scripts/menu_items<?php echo $_SESSION['rol'];?>.js"></script>
<script language="JavaScript" src="Scripts/menu_tpl.js"></script>
<script language="JavaScript">
	new menu (MENU_ITEMS, MENU_TPL);
</script>
<link rel="stylesheet" href="Scripts/menu.css">

<table width="1000" border="0" align="left" cellpadding="0" cellspacing="0">
  <tr>
    <td width="15" background="img/izq.jpg">&nbsp;</td>
    <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="26" background="img/lev0_bg1.gif"></td>
      </tr>
      <tr>
        <td height="7"></td>
      </tr>
      <tr>
        <td height="30" background="img/fondo1.jpg" bgcolor="#6699CC"><div align="center" class="titulo">
          <div align="right" class="Estilo1">RURAL S.A. &nbsp;&nbsp;</div>
        </div></td>
      </tr>
      <tr>
        <td bgcolor="#003366" height="5">		</td>
      </tr>
     <tr>
        <td align="left" valign="top" class="nom">
          <br />
         <br /></td>
     </tr>
      <tr>
        <td align="center" valign="top">
           <iframe src="principal.php" height="650" width="98%"  name="frame" id="frame" frameborder="0" align="middle"> </iframe>        </td>
      </tr>
      <tr>
        <td valign="bottom"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
          <tr>
            <td bgcolor="#F3F3F3"><div align="center"><span class="link">
              <?php include("admin/menu_inf.php");?>
            </span></div></td>
          </tr>
          <tr>
            <td height="10"><div align="center" class="link"></div></td>
          </tr>
          <tr>
            <td bgcolor="#F3F3F3"><div align="center"><span  class="link"><a href="mailto:info@sigmacode.com.ar">&copy; 2010 - SIGMACODE</a></span></div></td>
          </tr>
          <tr>
            <td bgcolor="#F3F3F3" class="texto">&nbsp;</td>
          </tr>
          <tr>
            <td bgcolor="#F3F3F3" class="texto"><div align="center">Resolución recomendada: 1024 x 768 </div></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
    <td width="15" background="img/der.jpg">&nbsp;</td>
  </tr>
</table>

</body>
</html>
<?php }else{ 
header ("Location: index.php?s=n");
}?>
